From: Paul Donald Date: Fri, 25 Apr 2025 21:39:26 +0000 (+0200) Subject: treewide: vectorise iconography X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=ae5d91da903b6f1d3086d6082ca622231e34f555;p=project%2Fluci.git treewide: vectorise iconography Clear, crisp, resolution independent vector graphics replace the trusty microscopic PNG. Some minor CSS changes were needed to constrain images in some locations to make sure they don't consume too much space. Iconography taken from Mate desktop theme with minor adjustments: https://github.com/mate-desktop/mate-icon-theme/ Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/log.js b/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/log.js index ccc80163ca..da646baaf7 100644 --- a/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/log.js +++ b/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/log.js @@ -26,7 +26,7 @@ return view.extend({ var log_textarea = E('div', { 'id': 'log_textarea' }, E('img', { - 'src': L.resource('icons/loading.gif'), + 'src': L.resource('icons/loading.svg'), 'alt': _('Loading...'), 'style': 'vertical-align:middle' }, _('Collecting data...')) diff --git a/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/log.js b/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/log.js index c1f0856576..4a93e2bd4c 100644 --- a/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/log.js +++ b/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/log.js @@ -45,7 +45,7 @@ return view.extend({ render: function() { var log_textarea = E('div', { 'id': 'log_textarea' }, E('img', { - 'src': L.resource('icons/loading.gif'), + 'src': L.resource('icons/loading.svg'), 'alt': _('Loading'), 'style': 'vertical-align:middle' }, _('Collecting data...')) diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm index 9b99cdd325..1c8d3a9cd8 100644 --- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm +++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm @@ -52,8 +52,8 @@